import MoocChapter from './moocChapter.vue'
import ModuleAdd from './moduleAdd.vue'
import MoocChapterAdd from './moocChapterAdd.vue'
import MoocChapterExamine from './moocChapterExamine.vue'
import MoocSectionExamine from './moocSectionExamine.vue'

const components = [
  MoocChapter,
  ModuleAdd,
  MoocChapterAdd,
  MoocChapterExamine,
  MoocSectionExamine
]

const main = {
  install(Vue) {
    components.map((component) => {
      Vue.component(component.name, component)
    })
  }
}
export default main
